#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
long int LeLe_Power(long int num)
{
	long int sum = 0;
	long int i = 0;
	while (num)
	{
		long int n = num % 10;
		num /= 10;		sum += (n % 2) * pow(10, i);
		i++;
	}
	return sum;
}
int main()
{
	long int input = 0;
	scanf("%d", &input);
	printf("\n%d",LeLe_Power(input));
	return 0;
}